package edu.mcw.rgd.clinminer.web.ui;

import com.vaadin.ui.FormFieldFactory;

import com.vaadin.spring.roo.addon.annotations.RooVaadinAutomaticEntityForm;

import edu.mcw.rgd.clinminer.web.AutomaticEntityForm;
import edu.mcw.rgd.clinminer.web.utils.ClinminerFormFieldFactory;

@RooVaadinAutomaticEntityForm(formBackingObject = edu.mcw.rgd.clinminer.domain.Participant.class)
public class ParticipantForm extends AutomaticEntityForm<edu.mcw.rgd.clinminer.domain.Participant> {

    public ParticipantForm() {
        super(edu.mcw.rgd.clinminer.domain.Participant.class);

        getForm().setFormFieldFactory(getFormFieldFactory());
    }

	public FormFieldFactory getFormFieldFactory() {
		return new ClinminerFormFieldFactory();
	}
}
